package fr.udata.server.dao;

import fr.udata.server.dao.impl.UserDaoImpl;
import fr.udata.shared.model.UserB;

public abstract class UserDao {
	public static UserDao instance = null;

	public static UserDao getInstance() {
		if (instance == null) {
			instance = new UserDaoImpl();
		}
		return instance;
	}

	public abstract UserB saveUser(UserB userB);

	public abstract UserB getUser(String email);

	public abstract UserB deleteUser(String email);

}
